<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div>
      <video
        src="https://sr-sycdn.kuwo.cn/62651e84efb5b185b12b87d289b7eddc/66699266/resource/m2/14/6/2362644976.mp4"
        controls="controls"
        autoplay="autoplay"
        width="800px"
      ></video>
      <audio
        src="../source/jianao.ogg"
        controls="controls"
        autoplay="autoplay"
      ></audio>
    </div>
    <script>
      // 第一种;
      let arr2 = [3, 4, 5, 8, 8, 8];
      console.log([...new Set(arr2)]);
      // 第二种;
      console.log(Array.from(new Set(arr2)));
      for (const i of arr2) {
        console.log(arr2[i]);
      }
      /*       let obj = {
        uname: "阿华",
        age: 30,
        sayHi() {
          console.log("77777777");
        },
      };
      let sayHi = Symbol();
      obj[sayHi] = () => {
        console.log("1111111111");
      };
      console.log(obj);
      obj.sayHi();
      obj[sayHi](); */
    </script>
  </body>
</html>
